package com.newway.exception;

public enum ExceptionEnum {
     INVALID_TOKEN_EXCEPTION(10001,"用户凭证无效"),
     EXPIRED_USERINFO_EXCEPTION(10001,"用户登录失效,请重新登录"),
    NO_PERM(10002,"对不起，你访问受限")
    ;

   public int code;
   public String msg;

    ExceptionEnum(int code,String msg){
        this.code = code;
        this.msg = msg;
    }
}
